<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html>
<head>
<base href="<%=basePath%>">

<title>凭证数据导入</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
<meta http-equiv="X-UA-Compatible" content="IE=11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width" />
<style type="text/css">
a img {
	border: none;
}

a:link {
	color: #42413C;
	text-decoration: none;
}

a:visited {
	color: #6E6C64;
	text-decoration: none;
}

iframe,div {
	margin: 0px auto;
	padding: 0px;
}

a:hover,a:active,a:focus {
	text-decoration: none;
	color: red;
	cursor: pointer
}

#all {
	width: 100%;
	height: 100%;
}

#left {
	position: absolute;
	float: left;
	width: 10%;
	height: 100%;
}

#right {
	position: absolute;
	float: right;
	width: 90%;
	height: 100%;
	margin-left: 10%;
	<!--
	设置内边距即可，楼主的问题同理可得--
	>
}

#right a img {
	width: 300px;
	height: 300px;
	float: left;
	margin-top: 35%;
	margin-bottom: 35%;
}

.divcss5 {
	border: 1px solid #99CCFF
}
</style>

</head>

<body  >
	<c:if test="${empty user}">
		<jsp:forward page="/Views/login.jsp" />
	</c:if>
	<c:if test="${not empty user}">
		<div class="divcss5">
			<table width="99%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td rowspan="3" width="50%"><img src="imgs/logo.gif"
						width="245" height="46">
					</td>
					<td align="right">欢迎您，${user.description}</td>
				</tr>
				<tr>
					<td align="right">上次登录时间：${user.lastTimes}</td>
				</tr>
				<tr>
					<td align="right"><a
						href="javascript:if(confirm('确实要退出登录吗吗?'))location='/HFG/login/out'"><img
							src="<%=basePath%>imgs/log_out.gif" width="18" height="18">
					</a>
					</td>
				</tr>
			</table>
		</div>
		<div id="all" class="divcss5">
			<div id="left">
				<ul class="nav ">
					<p>
					<li><a href="record/getRuns" hidefocus="true" class="Lefn"
						target="main"><b>√</b>凭证导入</a>
					</li>
					</p>
					<p>
					<li><a href="logger/getSearch" hidefocus="true" class="Lefn"
						target="main"><b>√</b>运行结果</a>
					</li>
					</p>
				</ul>
			</div>
			<div id="right" class="divcss5">
				<iframe scrolling="no" id="main" name="main" frameborder="0"
					src="record/getRuns" width="100%"  height ="105%"></iframe>
			</div>
		</div>
	</c:if>
</body>
</html>
<script type="text/javascript" src="<%=basePath%>js/jquery-1.11.3.js"></script>
 